package com.ruibang.glass.equipment.mapper.device;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruibang.glass.equipment.domain.req.device.AreaManagePageReq;
import com.ruibang.glass.equipment.dto.SelectDTO;
import com.ruibang.glass.equipment.entity.device.AreaManage;
import com.teaming.cloud.framework2.autoconfigure.mybatisplus.mapper.CommonMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface AreaManageMapper extends CommonMapper<AreaManage> {

    IPage<AreaManage> queryDeviceCarInfo(Page<AreaManage> page, @Param("deviceCarReq") AreaManagePageReq areaManagePageReq);

    List<AreaManage> searchNameList(@Param("name") String name);

    List<SelectDTO> getAreaNameList();

}
